package blog.com.mw.pojo.po;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Getter;
import lombok.Setter;

/**
 * @author Administrator
 *
 */
@Getter
@Setter
public class UserPO {

	/**
	 * 用户ID
	 */
	private Long id;
	
	/**
	 * 账号
	 */
	private String acount;
	
	
	/**
	 * 用户名
	 */
	private String name;
	
	/**
	 * 密码
	 */
	private String password;
	
	/**
	 * 头像
	 */
	private String avatar;
	
	/**
	 * 邮箱
	 */
	private String email;
	
	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date ctime;

	@Override
	public String toString() {
		return "UserPO [id=" + id + ", acount=" + acount + ", name=" + name + ", password=" + password + ", avatar="
				+ avatar + ", email=" + email + ", ctime=" + ctime + "]";
	}
	
}
